package VN.EDU.IMIC.DEVELOPER.NGUYENVANTHIEN.EXAM01.Bai1;

public class ControllerHinhChuNhat {
	private EntityHinhChuNhat m_HCN;
	private Model m_Model;
	
	public ControllerHinhChuNhat(EntityHinhChuNhat objHCN ){
		m_HCN = objHCN ;
		
		m_Model = new Model();
	}
	//Hình chữ nhật
	public double chuviHCN(EntityHinhChuNhat objHCN){
		return m_Model.ChuVi(m_HCN);
	}
	public double dienTich(EntityHinhChuNhat objHCN){
		return m_Model.DienTich(m_HCN);
	}
}
